package com.lhy.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhy.admin.model.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> listRolesByUserName(String userName);

}